Dependencies
There are three @api3 packages used by Centurion v2.
centurionV2-vue: @api3/logoscenturionV2-nodejs: @api3/dapi-management, @api3/contractscenturionV2-worker: @api3/dapi-management, @api3/contracts
See the page Package-updates.md for information on how to deploy the above packages.
@api3/dapi-management
This package is used to extract the known feeds (dAPIs) to populate the FEEDs table and active chains to populate the CHAINs table. See the workers chains.js and feeds.js.
With each upgrade of the package new feeds or chains may be present. A simple test after upgrading is needed in dev before re-deploying centurionV2-workers. After startup of the instance, note the console output for both feeds and chains.
→ 0 new chain(s) created
>>> CHAINS sync: 56.913ms
→ 0 new feed(s) created
>>> FEEDS sync: 29.322ms
Additionally a feed or chain may exist in the database but has been removed from the package. In this case an Opsgenie alert will be sent. These must be removed manually from the database using psql.
This package is alo used by centurionV2-nodejs in several REST GET routes.
@api3/contracts
Used by centurionV2-worker syncPrices worker to execute on-chain contracts.
This package is alo used by centurionV2-nodejs in a few REST GET routes.
@api3/logos
Used by centurionV2-vue to display logos for feeds and chains.